package com.goodomen.garbage.web.constant;

public enum  CacheKeyEnum {

    //============ Sys admin ============
    SYS_ADMIN_ID("sys.admin.id.", 60 * 60L),
    ;



    /**
     * 缓存的key
     */
    private String key;
    /**
     * 过期时间，单位 秒
     */
    private Long expire;

    CacheKeyEnum(String key, Long expire) {
        this.key = key;
        this.expire = expire;
    }

    public String getKey() {
        return key;
    }

    public Long getExpire() {
        return expire;
    }
}
